package com.shop.shopmall.mapper;

import com.shop.shopmall.pojo.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jamie
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2025-03-20 11:53:37
* @Entity com.shop.shopmall.pojo.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 获取菜单
     * @param menu
     * @return
     */
    List<Menu> getMenu(@Param("menu") Menu menu);

    /**
     * 获取所有菜单
     * @return
     */
    List<Menu> getAllMenus();

}




